<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>AWTK-CPP: TKeyboard类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">AWTK-CPP
   </div>
   <div id="projectbrief">AWTK CPP API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="class_t_keyboard-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">TKeyboard类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="awtk__cpp_8hpp_source.html">awtk_cpp.hpp</a>&gt;</code></p>
<div class="dynheader">
类 TKeyboard 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_t_keyboard.png" usemap="#TKeyboard_map" alt=""/>
  <map id="TKeyboard_map" name="TKeyboard_map">
<area href="class_t_window_base.html" alt="TWindowBase" shape="rect" coords="0,56,91,80"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:ab085a0fdb98d099fb77b8c49697c2510"><td class="memItemLeft" align="right" valign="top"><a id="ab085a0fdb98d099fb77b8c49697c2510"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>TKeyboard</b> (widget_t *nativeObj)</td></tr>
<tr class="separator:ab085a0fdb98d099fb77b8c49697c2510"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f8fa9f87d272195b23c3eb5a507fe6a"><td class="memItemLeft" align="right" valign="top"><a id="a8f8fa9f87d272195b23c3eb5a507fe6a"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>TKeyboard</b> (const keyboard_t *nativeObj)</td></tr>
<tr class="separator:a8f8fa9f87d272195b23c3eb5a507fe6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_t_window_base"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_t_window_base')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_t_window_base.html">TWindowBase</a></td></tr>
<tr class="memitem:a8ee82f7d1d7c5d8ec69d3013587ad497 inherit pub_methods_class_t_window_base"><td class="memItemLeft" align="right" valign="top"><a id="a8ee82f7d1d7c5d8ec69d3013587ad497"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>TWindowBase</b> (widget_t *nativeObj)</td></tr>
<tr class="separator:a8ee82f7d1d7c5d8ec69d3013587ad497 inherit pub_methods_class_t_window_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf3bcfc0b3a710b7b466c2b16446123c inherit pub_methods_class_t_window_base"><td class="memItemLeft" align="right" valign="top"><a id="abf3bcfc0b3a710b7b466c2b16446123c"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>TWindowBase</b> (const window_base_t *nativeObj)</td></tr>
<tr class="separator:abf3bcfc0b3a710b7b466c2b16446123c inherit pub_methods_class_t_window_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a601f1606bf5af9351729e8cf6d9a66b3 inherit pub_methods_class_t_window_base"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_window_base.html#a601f1606bf5af9351729e8cf6d9a66b3">GetTheme</a> () const</td></tr>
<tr class="separator:a601f1606bf5af9351729e8cf6d9a66b3 inherit pub_methods_class_t_window_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a785e621ad5b45b66df5407042c967f95 inherit pub_methods_class_t_window_base"><td class="memItemLeft" align="right" valign="top">window_closable_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_window_base.html#a785e621ad5b45b66df5407042c967f95">GetClosable</a> () const</td></tr>
<tr class="separator:a785e621ad5b45b66df5407042c967f95 inherit pub_methods_class_t_window_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a999ec9d1a83b966a1dca2d41bcbbe61f inherit pub_methods_class_t_window_base"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_window_base.html#a999ec9d1a83b966a1dca2d41bcbbe61f">GetOpenAnimHint</a> () const</td></tr>
<tr class="separator:a999ec9d1a83b966a1dca2d41bcbbe61f inherit pub_methods_class_t_window_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a916fe8622c4e893c76fd3a505eb898d8 inherit pub_methods_class_t_window_base"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_window_base.html#a916fe8622c4e893c76fd3a505eb898d8">GetCloseAnimHint</a> () const</td></tr>
<tr class="separator:a916fe8622c4e893c76fd3a505eb898d8 inherit pub_methods_class_t_window_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c891e673ad398018e950b2123518096 inherit pub_methods_class_t_window_base"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_window_base.html#a2c891e673ad398018e950b2123518096">GetMoveFocusPrevKey</a> () const</td></tr>
<tr class="separator:a2c891e673ad398018e950b2123518096 inherit pub_methods_class_t_window_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a779b72528696980bc6e8216f975b7552 inherit pub_methods_class_t_window_base"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_window_base.html#a779b72528696980bc6e8216f975b7552">GetMoveFocusNextKey</a> () const</td></tr>
<tr class="separator:a779b72528696980bc6e8216f975b7552 inherit pub_methods_class_t_window_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08702c73171683fadc8cfcdd88a9b78b inherit pub_methods_class_t_window_base"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_window_base.html#a08702c73171683fadc8cfcdd88a9b78b">GetMoveFocusUpKey</a> () const</td></tr>
<tr class="separator:a08702c73171683fadc8cfcdd88a9b78b inherit pub_methods_class_t_window_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a298b383e463a6c6855e4789b97329649 inherit pub_methods_class_t_window_base"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_window_base.html#a298b383e463a6c6855e4789b97329649">GetMoveFocusDownKey</a> () const</td></tr>
<tr class="separator:a298b383e463a6c6855e4789b97329649 inherit pub_methods_class_t_window_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2812b0aec83f6358c93382ade42251cb inherit pub_methods_class_t_window_base"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_window_base.html#a2812b0aec83f6358c93382ade42251cb">GetMoveFocusLeftKey</a> () const</td></tr>
<tr class="separator:a2812b0aec83f6358c93382ade42251cb inherit pub_methods_class_t_window_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75401bad5c3a209a65087ed952347dc4 inherit pub_methods_class_t_window_base"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_window_base.html#a75401bad5c3a209a65087ed952347dc4">GetMoveFocusRightKey</a> () const</td></tr>
<tr class="separator:a75401bad5c3a209a65087ed952347dc4 inherit pub_methods_class_t_window_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:addac5db2d4c3a2aab24a98ff83f6c1ae"><td class="memItemLeft" align="right" valign="top"><a id="addac5db2d4c3a2aab24a98ff83f6c1ae"></a>
static <a class="el" href="class_t_keyboard.html">TKeyboard</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Cast</b> (widget_t *nativeObj)</td></tr>
<tr class="separator:addac5db2d4c3a2aab24a98ff83f6c1ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbebd634a1e7bd252ef6700f9a8b195e"><td class="memItemLeft" align="right" valign="top"><a id="abbebd634a1e7bd252ef6700f9a8b195e"></a>
static <a class="el" href="class_t_keyboard.html">TKeyboard</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Cast</b> (const widget_t *nativeObj)</td></tr>
<tr class="separator:abbebd634a1e7bd252ef6700f9a8b195e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac7df47aa812d498c0263e259d982c0d"><td class="memItemLeft" align="right" valign="top"><a id="aac7df47aa812d498c0263e259d982c0d"></a>
static <a class="el" href="class_t_keyboard.html">TKeyboard</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Cast</b> (TWidget &amp;obj)</td></tr>
<tr class="separator:aac7df47aa812d498c0263e259d982c0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54a8642352a98a3585d1a6248ebd662c"><td class="memItemLeft" align="right" valign="top"><a id="a54a8642352a98a3585d1a6248ebd662c"></a>
static <a class="el" href="class_t_keyboard.html">TKeyboard</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Cast</b> (const TWidget &amp;obj)</td></tr>
<tr class="separator:a54a8642352a98a3585d1a6248ebd662c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab09e52dcb17a732684597df709007133"><td class="memItemLeft" align="right" valign="top">static TWidget&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_keyboard.html#ab09e52dcb17a732684597df709007133">Create</a> (TWidget &amp;parent, xy_t x, xy_t y, wh_t w, wh_t h)</td></tr>
<tr class="separator:ab09e52dcb17a732684597df709007133"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_class_t_window_base"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_t_window_base')"><img src="closed.png" alt="-"/>&#160;静态 Public 成员函数 继承自 <a class="el" href="class_t_window_base.html">TWindowBase</a></td></tr>
<tr class="memitem:a3fb2635fa070697e58c5ded7fc379f9a inherit pub_static_methods_class_t_window_base"><td class="memItemLeft" align="right" valign="top"><a id="a3fb2635fa070697e58c5ded7fc379f9a"></a>
static <a class="el" href="class_t_window_base.html">TWindowBase</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Cast</b> (widget_t *nativeObj)</td></tr>
<tr class="separator:a3fb2635fa070697e58c5ded7fc379f9a inherit pub_static_methods_class_t_window_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9257e5853c911e1b72be7c3e284a86bc inherit pub_static_methods_class_t_window_base"><td class="memItemLeft" align="right" valign="top"><a id="a9257e5853c911e1b72be7c3e284a86bc"></a>
static <a class="el" href="class_t_window_base.html">TWindowBase</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Cast</b> (const widget_t *nativeObj)</td></tr>
<tr class="separator:a9257e5853c911e1b72be7c3e284a86bc inherit pub_static_methods_class_t_window_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96c2165d59c4e3468f4e4a3369132f9a inherit pub_static_methods_class_t_window_base"><td class="memItemLeft" align="right" valign="top"><a id="a96c2165d59c4e3468f4e4a3369132f9a"></a>
static <a class="el" href="class_t_window_base.html">TWindowBase</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Cast</b> (TWidget &amp;obj)</td></tr>
<tr class="separator:a96c2165d59c4e3468f4e4a3369132f9a inherit pub_static_methods_class_t_window_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b0b15eadef758ff6d7adea4b88128b3 inherit pub_static_methods_class_t_window_base"><td class="memItemLeft" align="right" valign="top"><a id="a2b0b15eadef758ff6d7adea4b88128b3"></a>
static <a class="el" href="class_t_window_base.html">TWindowBase</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Cast</b> (const TWidget &amp;obj)</td></tr>
<tr class="separator:a2b0b15eadef758ff6d7adea4b88128b3 inherit pub_static_methods_class_t_window_base"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>软键盘。</p>
<p>软键盘是一个特殊的窗口，由编辑器通过输入法自动打开和关闭。</p>
<p>这里介绍一下定制软键盘的方法：</p>
<p>编辑器输入类型和软键盘UI资源文件的对应关系:</p>
<table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadNone">输入类型 </th><th class="markdownTableHeadCenter">软键盘UI资源文件  </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">INPUT_PHONE </td><td class="markdownTableBodyCenter">kb_phone.xml  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">INPUT_INT </td><td class="markdownTableBodyCenter">kb_int.xml  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">INPUT_FLOAT </td><td class="markdownTableBodyCenter">kb_float.xml  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">INPUT_UINT </td><td class="markdownTableBodyCenter">kb_uint.xml  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">INPUT_UFLOAT </td><td class="markdownTableBodyCenter">kb_ufloat.xml  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">INPUT_HEX </td><td class="markdownTableBodyCenter">kb_hex.xml  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">INPUT_EMAIL </td><td class="markdownTableBodyCenter">kb_ascii.xml  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">INPUT_PASSWORD </td><td class="markdownTableBodyCenter">kb_ascii.xml  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">INPUT_CUSTOM </td><td class="markdownTableBodyCenter">使用自定义的键盘  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">其它 </td><td class="markdownTableBodyCenter">kb_default.xml  </td></tr>
</table>
<p>keyboard中按钮子控件的名称有些特殊要求：</p>
<table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadNone">名称 </th><th class="markdownTableHeadCenter">功能  </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">return </td><td class="markdownTableBodyCenter">回车键  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">action </td><td class="markdownTableBodyCenter">定制按钮  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">backspace </td><td class="markdownTableBodyCenter">删除键  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">tab </td><td class="markdownTableBodyCenter">tab键  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">space </td><td class="markdownTableBodyCenter">空格键  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">close </td><td class="markdownTableBodyCenter">关闭软键盘  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">前缀key: </td><td class="markdownTableBodyCenter">键值  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">前缀hard_key: </td><td class="markdownTableBodyCenter">模拟物理键盘  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">前缀page: </td><td class="markdownTableBodyCenter">切换到页面  </td></tr>
</table>
<p>示例：</p>
<p>按键"a"，提交输入法处理。</p>
<div class="fragment"><div class="line">*&lt;<span class="keywordtype">button</span> <span class="keyword">repeat</span>=<span class="stringliteral">&quot;300&quot;</span> <span class="keyword">name</span>=<span class="stringliteral">&quot;key:a&quot;</span> <span class="keyword">text</span>=<span class="stringliteral">&quot;a&quot;</span>/&gt;</div>
</div><!-- fragment --><p>字符"a"，直接提交到编辑器。</p>
<div class="fragment"><div class="line">*&lt;<span class="keywordtype">button</span> <span class="keyword">repeat</span>=<span class="stringliteral">&quot;300&quot;</span> <span class="keyword">name</span>=<span class="stringliteral">&quot;a&quot;</span> <span class="keyword">text</span>=<span class="stringliteral">&quot;a&quot;</span>/&gt;</div>
</div><!-- fragment --><p>模拟物理键盘数字"1"，触发key down/up事件（可以用来选择候选字）。</p>
<div class="fragment"><div class="line">*&lt;<span class="keywordtype">button</span> <span class="keyword">repeat</span>=<span class="stringliteral">&quot;300&quot;</span> <span class="keyword">name</span>=<span class="stringliteral">&quot;hard_key:1&quot;</span> <span class="keyword">text</span>=<span class="stringliteral">&quot;1&quot;</span>/&gt;</div>
</div><!-- fragment --><blockquote class="doxtable">
<p>更多用法请参考： </p>
</blockquote>
<p><a href="https://github.com/zlgopen/awtk/blob/master/demos/assets/default/raw/ui/kb_default.xml">kb_default</a> </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="ab09e52dcb17a732684597df709007133"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab09e52dcb17a732684597df709007133">&#9670;&nbsp;</a></span>Create()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">TWidget TKeyboard::Create </td>
          <td>(</td>
          <td class="paramtype">TWidget &amp;&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">xy_t&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">xy_t&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">wh_t&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">wh_t&#160;</td>
          <td class="paramname"><em>h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>创建keyboard对象</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>父控件 </td></tr>
    <tr><td class="paramname">x</td><td>x坐标 </td></tr>
    <tr><td class="paramname">y</td><td>y坐标 </td></tr>
    <tr><td class="paramname">w</td><td>宽度 </td></tr>
    <tr><td class="paramname">h</td><td>高度</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对象。 </dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>output/<a class="el" href="awtk__cpp_8hpp_source.html">awtk_cpp.hpp</a></li>
<li>output/awtk_cpp.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
